function createCube(map: THREE.Texture) {
  let geometry = new THREE.BoxGeometry(10, 10, 10);
  let material = new THREE.MeshBasicMaterial({ color: 0xffff00, map });
  return new THREE.Mesh(geometry, material);
}
